


const mysql=require('mysql')
const conn=mysql.createConnection({

  
  host:"localhost",
  user:"root",
  password:"12345",
  database:"world",
  multipleStatements: true,//开启多表同时查询
  // maxAge: 1000 * 60 * 60 * 6, //session保存6个小时
  secret:"123456"//session
  
})

module.exports=conn;
